package com.cci.kangdao.fieldService.dao;

import com.cci.kangdao.fieldService.model.FieldServiceAgreement;
import org.apache.ibatis.annotations.Param;

public interface FieldServiceAgreementDao {
    int deleteByPrimaryKey(Long id);

    int insert(FieldServiceAgreement record);

    int insertSelective(FieldServiceAgreement record);

    FieldServiceAgreement selectByPrimaryKey(Long id);

    FieldServiceAgreement selectByChannelAndCategory(@Param("channel") Long channel,@Param("category") Integer category);

    int updateByPrimaryKeySelective(FieldServiceAgreement record);

    int updateByPrimaryKey(FieldServiceAgreement record);
}